package com.sba.core.repository;

import java.util.List;

import org.springframework.data.domain.Sort;

import com.sba.core.domain.Dictionary;

/**
 * 
 * @author feiliming
 *
 */
public interface DictionaryRepository extends BaseRepository<Dictionary> {

	List<Dictionary> findByIsDelete(int isDelete, Sort sort);
	List<Dictionary> findByTypeAndIsDelete(String type, int isDelete, Sort sort);
	List<Dictionary> findByParentIdAndIsDelete(Long parentId, int isDelete, Sort sort);
	List<Dictionary> findByParentIdAndTypeAndIsDelete(Long parentId, String type, int isDelete, Sort sort);
	
}
